let obj = {
    names : "Connor",
    age : 18
}

function dataMsg(data) {
    let a = "chengnan";
    data.names = a;
}

console.log(obj,111);
dataMsg(obj);
console.log(obj,222);
